package com.autonavi.collapse.task.model;

import java.util.Date;
import java.util.Map;

public class TaskTemplate {

    private long id;
    private String name;
    private String group;
    private String type;
    private Map<String, ConfigValue> configs;
    private String progress;
    private int interval;
    private Date nextTime;

    public TaskTemplate(Map<String, ConfigValue> configs) {
        this.configs = configs;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Map<String, ConfigValue> getConfigs() {
        return configs;
    }

    public void setConfigs(Map<String, ConfigValue> configs) {
        this.configs = configs;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public int getInterval() {
        return interval;
    }

    public void setInterval(int interval) {
        this.interval = interval;
    }

    public Date getNextTime() {
        return nextTime;
    }

    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }
}
